package com.heima.zuoye.day03.timu2;

public class Singleton {
    private static Singleton instance = null;
    private Singleton Singleton() {
        if (instance == null) {
            instance = new Singleton();
        }
        return instance;
    }
}